<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
  <script>

    // 声明数组，想打印整个数组就写数组名，下要其中某一个元素就写元素对应的下标
    let arr =[1,2,3,45,7]
    console.log(arr[4]);
    


  </script>
</body>
</html>